package com.zdy.im.user.vo.request;


import com.sixeco.framework.common.api.ApiDesc;
import com.sixeco.framework.http.data.vo.RequestParserVo;

/**
* @ClassName: UserInfoRequestVo.java
* @Description: 用户表的数据交互处理类
 * @Author 作者 : zdy
 * @CreateDate 创建时间: 2021-02-30
* @version V1.0.0
* <p>
    * ----------------------------------------------------------------------------
    *  modifyer    modifyTime                 comment
    *
    * ----------------------------------------------------------------------------
    * </p>
*/
public class UserLoginImRequestVo extends RequestParserVo {


 		/** userId 用户账号id  */
 		@ApiDesc(value = "userId 用户账号id ", required = 1)
 		private long userId;

 		/** token 有效验证token  */
 		@ApiDesc(value = "有效验证token", required = 0)
 		private String token;



    public static UserLoginImRequestVo build(){
        return new UserLoginImRequestVo();
    }


	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public UserLoginImRequestVo toUserId(int userId) {
		this.userId = userId;
		return this;
	}

	public UserLoginImRequestVo toToken(String token) {
		this.token = token;
		return this;
	}
}
